

package lp.xian.production.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成品入库对象 lp_operation_product
 *
 * @author ruoyi
 * @date 2023-07-06
 */
@Data
public class OperationProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer operationProductId;

    /** 成品存库名称 */
    @Excel(name = "成品存库名称")
    private String operationProductName;

    /** 数量 */
    @Excel(name = "数量")
    private Integer operationProductNum;

    @Excel(name = "价格")
    private BigDecimal operationProductPrice;
    /** 单位 */
    @Excel(name = "单位")
    private String operationProductUnit;

    /** 库房id */
    @Excel(name = "库房id")
    private Integer warehouseId;

    /** 货架id */
    @Excel(name = "货架id")
    private Integer shelfId;

    /** 库位id */
    @Excel(name = "库位id")
    private Integer locationId;

    /** 带班人员 */
    @Excel(name = "带班人员")
    private String firstDuty;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String firstDutyPhone;

    /** 班次 */
    @Excel(name = "班次")
    private String gradeClass;

    /** 上班时间 */
    @Excel(name = "上班时间")
    private String officeTime;

    /** 下班时间 */
    @Excel(name = "下班时间")
    private String offTime;

    /** 上班人数 */
    @Excel(name = "上班人数")
    private Integer officeNum;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer auditStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String auditOpinion;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditPerson;

    /** 审批意见 */
    @Excel(name = "审批意见")
    private String approverOpinion;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date approverTime;

    /** 审批人 */
    @Excel(name = "审批人")
    private String approverPerson;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("operationProductId", getOperationProductId())
                .append("operationProductName", getOperationProductName())
                .append("operationProductNum", getOperationProductNum())
                .append("operationProductUnit", getOperationProductUnit())
                .append("warehouseId", getWarehouseId())
                .append("shelfId", getShelfId())
                .append("locationId", getLocationId())
                .append("firstDuty", getFirstDuty())
                .append("firstDutyPhone", getFirstDutyPhone())
                .append("gradeClass", getGradeClass())
                .append("officeTime", getOfficeTime())
                .append("offTime", getOffTime())
                .append("officeNum", getOfficeNum())
                .append("auditStatus", getAuditStatus())
                .append("auditOpinion", getAuditOpinion())
                .append("auditTime", getAuditTime())
                .append("auditPerson", getAuditPerson())
                .append("approverOpinion", getApproverOpinion())
                .append("approverTime", getApproverTime())
                .append("approverPerson", getApproverPerson())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
